package com.dup.jxlh.admin.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.dup.jxlh.admin.entities.auth.AuthInfo;
import com.dup.jxlh.admin.entities.model.Admin;
import com.dup.jxlh.admin.entities.vo.AdminVO;
import com.dup.jxlh.api.entities.PaginationData;

import java.math.BigInteger;

public interface AdminService {
    //获取admin信息
    AdminVO getAdminInfo(BigInteger id);

    //修改admin信息
    Boolean updateAdminInfo(Admin admin);

    //修改admin密码
    Boolean updateAdminPassword(BigInteger id, String password);

    //获取auth信息
    AuthInfo getAuthInfo(BigInteger id);

    //获取管理员列表
    Page<AdminVO> getAdminList(PaginationData paginationData, Admin admin);

    //添加管理员
    Boolean addAdminInfo(Admin admin);

}
